<%= form_for(@location) do |f| %>
  <% if @location.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@location.errors.count, "error") %> prohibited this location from being saved:</h2>

      <ul>
      <% @location.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :locationName %><br />
    <%= f.text_field :locationName %>
  </div>
  <div class="field">
    <%= f.label :locationDescription %><br />
    <%= f.text_field :locationDescription %>
  </div>
  <div class="field">
    <%= f.label :addressName %><br />
    <%= f.text_field :addressName %>
  </div>
  <div class="field">
    <%= f.label :addressLn1 %><br />
    <%= f.text_field :addressLn1 %>
  </div>
  <div class="field">
    <%= f.label :addressLn2 %><br />
    <%= f.text_field :addressLn2 %>
  </div>
  <div class="field">
    <%= f.label :city %><br />
    <%= f.text_field :city %>
  </div>
  <div class="field">
    <%= f.label :stateCode %><br />
    <%= f.text_field :stateCode %>
  </div>
  <div class="field">
    <%= f.label :zipCode %><br />
    <%= f.text_field :zipCode %>
  </div>
  <div class="field">
    <%= f.label :gmapString %><br />
    <%= f.text_field :gmapString %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
